<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="icon" type="text/css" href="icon.ico"/>
		<link rel="stylesheet" type="text/css" href="__STATIC__/index/css/index.css" />
		<script src="__STATIC__/index/js/jquery-1.10.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__STATIC__/layer/layer.js" type="text/javascript" charset="utf-8"></script>

		<script src="__STATIC__/index/js/list.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<!--头部开始-->
		<div id="top">
			<!--头部灰条就开始-->
			<div class="topbox">
				<div class="main">
					<div class="topleft fl">
						<a href="javascript:;">欢迎来到冰雨商城</a>
						<a href="#">设为首页</a>
						<a href="#">收藏本站</a>
						<a href="#">帮助中心</a>
						<a href="#" class='last'><i></i>手机商城</a>
					</div>
					<div class="topright fr">
						<div class="login fl">
							<a href="#">登录</a>
							<a href="{:url('index/userlogin/register')}">注册</a>
						</div>
						<span class="fl">|</span>
						<div class="fcode fl">

							<a href="">我的订单</a>
						</div>
					</div>
				</div>
			</div>
			<!--头部灰条结束-->

			<!--logo区域开始-->
			<div class="logoRegion main">
				<div class="logo">
					<a href="{:url('index/index/index')}"><img src="__STATIC__/index/images/360logo.png" alt="" /></a>
				</div>
				<div class="seachRegion fr">
					<div class="seach fl">
						<form action="" method="post">
							<input type="text" class="seachtxt fl" value="O2+车载空气净化" />
							<input type="submit" class="btn" value="" />
						</form>
						<p class="searchkey">
							<a href="">电竞配件低至5折</a>
							<a href="">电竞配件低至5折</a>
							<a href="">电竞配件低至5折</a>
						</p>

					</div>
					<div class="topshopcart fr">
						<a href="" class="header-cart"><i></i>我的购物车<span class="cart-size">(0)</span></a>
						<div class="cart-tips">
							请
							<a href="">登录</a>后查看您的购物车。
						</div>
					</div>
				</div>

			</div>
			<!--logo区域结束-->
			<div class="clear"></div>
			<!--导航开始-->
			<div class="navbox">
				<div class="main">
					<h5 class="fl"><a href=""><i></i>全部智能酷品</a></h5>
					<ul class="menu fl">
						<li class="menulist">
							<a href="">手机</a>
							<div class="menuHiden">

								<ul class="product">

									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>

								</ul>

							</div>
						</li>
						<li class="menulist">
							<a href="">行车记录仪</a>
							<div class="menuHiden">
								<ul class="product">

									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>

								</ul>
							</div>
						</li>
						<li class="menulist">
							<a href="">儿童手表</a>
							<div class="menuHiden">
								<ul class="product">

									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>

								</ul>
							</div>
						</li>
						<li class="menulist">
							<a href="">摄像机</a>
							<div class="menuHiden">
								<ul class="product">

									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>

								</ul>
							</div>
						</li>
						<li class="menulist">
							<a href="">路由器</a>
							<div class="menuHiden">
								<ul class="product">

									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>
									<li>
										<a href=""><img src="__STATIC__/index/images/right.png" alt="" /></li>
									<li><img src="__STATIC__/index/images/right.png" alt="" /></a>
									</li>

								</ul>
							</div>
						</li>
						<li class="menulist">
							<a href="">儿童机器人</a>
						</li>
						<li class="menulist">
							<a href="">智品牌</a>
						</li>
						<li class="menulist">
							<a href="">一元夺宝</a>
						</li>
						<li class="menulist">
							<a href="">试用</a>
						</li>
						<li class="menulist">
							<a href="">社区</a>
						</li>
					</ul>

				</div>

			</div>
			<!--导航结束-->
			<div class="clear"></div>

		</div>
		<!--头部结束-->
		<!--中间开始-->
		<div id="content">
			<form action="" method="post">
				
				
			<div class="car main">
				<div class="carshop">
					<div class="cartitle">
						<div class="carcheck">
							<div class="checkbox">
								<span class="check" id="allcheck"></span>
								
							</div>
							全选</div>
						<div class="carname">商品名称</div>
						<div class="carmoney">单价</div>
						<div class="carnum">数量</div>
						<div class="carcount">小计</div>
						<div class="carhandle">操作</div>
					</div>
					{foreach name="data['goods']" key='k' item='vo'}
					<div class="shopcontent">
						<div class="shopcheck"><div class="checkbox">
								<span class="check" sid="{$k}"></span>
								<input type="checkbox" name='checkbox' class="checkhide"/>
							</div></div>
						<div class="shopname">
							<div class="carimg">
								<a href=""><img src="{$vo['options']['img']}"/></a>
							</div>
							<p>
								<a href="#">{$vo['name']}</a>
								<span>{$vo['options']['color']}--{$vo['options']['size']}</span>
							</p>
						</div>
						<div class="shopmoney">{$vo['price']}</div>
						<div class="shopnum">
							
							<a href="javascript:;" class="num_l">-</a>
							<input type="text" value="{$vo['num']}" />
							<a href="javascript:;" class="num_r" sid="{$k}">+</a>
						</div>
						<div class="shopcount">{$vo['total']}</div>
						<div class="shophandle" ><span sid="{$k}">x</span></div>
					</div>
					{/foreach}
					
				</div>
				<div class="jiesuan">
					<div class="jixu"><a href="">继续购物</a></div>
					<div class="gongji">共计<span>{$data['total_rows']}</span>件商品</div>
					<div class="heji">合计<span>{$data['total_price']}</span></div>
					<div class="gou"><input type="button" value="去结算"/></div>
					
				</div>
			</div>

			</form>
			<script>
				$(function () {
					$('.gou').click(function () {
                        var len = $('.shopcontent .checkon').length;
                        if (len==0){layer.msg('没有商品可结算',function () {
							return false;
                        })}
                        //可以正常结算
						var sid='';
                        $('.shopcontent .checkon').each(function (k,v) {
							sid+=$(this).attr('sid')+ '|';
                        })
						$.post("{:url('index/orders/addOrders')}",{sid:sid},function (responce) {
							location.href="{:url('index/orders/index')}"
                        },'json')

                    })
                })
			</script>


			
		</div>
		</div>
		<!--中间结束-->
		<!--尾部开始-->
		<div class="mod-footer">
			<div class="foot-bannerw">
				<div class="foot-banner clearfix">
					<div class="banner-item">
						<a href="#" target="_blank" data-monitor="home_foot_days7"><i class="icon1">7</i>7天无理由退货</a>
					</div>
					<div class="banner-item">
						<a href="#" target="_blank" data-monitor="home_foot_days15"><i class="icon2">15</i>15天免费换货</a>
					</div>
					<div class="banner-item"><i class="icon3">包</i>满99元包邮</div>
					<div class="banner-item">
						<a href="#" target="_blank" data-monitor="home_foot_moblie"><i class="icon4">服</i>手机特色服务</a>
					</div>
				</div>
			</div>
			<div class="foot-containerw">
				<div class="foot-container clearfix">
					<dl class="foot-con"> <dt data-monitor="home_foot_freshman">帮助中心 </dt>
						<dd data-monitor="home_help_freshman">
							<a target="_blank" href="#" rel="nofollow">用户注册</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">用户登录与密码找回</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">购买指南</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">支付方式</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">配送与说明</a>
						</dd>
					</dl>
					<dl class="foot-con"> <dt data-monitor="home_foot_help">售后服务 </dt>
						<dd data-monitor="home_help_help">
							<a target="_blank" href="#">7 日无理由退货</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">质量问题 15 日内换货</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">保修条款</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">服务流程</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">安迷之家</a>
						</dd>
					</dl>
					<dl class="foot-con"> <dt data-monitor="home_foot_guide">特色服务 </dt>
						<dd data-monitor="home_help_guide">
							<a target="_blank" href="#" rel="nofollow">F码通道</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">免费试用</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">360 生态</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">一元夺宝</a>
						</dd>
					</dl>
					<dl class="foot-con"> <dt data-monitor="home_foot_tuiguang">推广合作 </dt>
						<dd data-monitor="home_help_try">
							<a target="_blank" href="#" rel="nofollow">商品入驻</a>
						</dd>
						<dd>
							<a target="_blank" href="#" rel="nofollow">大客户采购</a>
						</dd>
					</dl>
					<dl class="foot-con"> <dt data-monitor="home_foot_try">关注360商城 </dt>
						<dd data-monitor="home_help_try">
							<a target="_blank" href="#" rel="nofollow">360商城大事记</a>
						</dd>
					</dl>

				</div>
			</div>
			<div class="footer-copyright">冰雨商城 ©2016-2018 BYCMS工作室版权所有 京ICP备000001号-43</div>
		</div>
		<!--尾部结束-->

		<!--右边底部返回顶部-->
		<div class="slidebar" id="slidebar">
			<ul>
				<li class="topback">
					<a href="javascript:;"></a>
				</li>
			</ul>
		</div>
		<!--右边底部返回顶部结束-->

	</body>

</html>